//
//  HLNetManager.h
//  zhuanxian
//
//  Created by qipai on 2017/11/24.
//  Copyright © 2017年 huiling. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BANetManager.h"
#import "BADataEntity.h"

@interface HLNetManager : NSObject

+ (BAURLSessionTask*)hl_requestWithPost:(NSString*)url param:(id)param withSuccessBlock:(BAResponseSuccessBlock)successBlock withFailureBlock:(BAResponseFailBlock)failureBlock progressBlock:(BADownloadProgressBlock)progressBlock;

+ (BAURLSessionTask*)hl_requestWithGet:(NSString*)url param:(id)param withSuccessBlock:(BAResponseSuccessBlock)successBlock withFailureBlock:(BAResponseFailBlock)failureBlock progressBlock:(BADownloadProgressBlock)progressBlock;

+ (BAURLSessionTask*)hl_uploadImages:(NSString*)url param:(id)param images:(NSArray<UIImage*>*)images withSuccessBlock:(BAResponseSuccessBlock)successBlock withFailureBlock:(BAResponseFailBlock)failureBlock progressBlock:(BAUploadProgressBlock)progressBlock;

@end
